//
//  FDAPIConst.m
//  FD
//
//  Created by Yasin on 2018/10/18.
//  Copyright © 2018年 ZhiYuan Network. All rights reserved.
//  按照模块进行划分，五块(登录注册相关、首页sy、发现fx、订单dd、我的wd) 编号尽量和接口文档中的编号保持一致


#import "FDAPIConst.h"

@implementation FDAPIConst

NSString *const TOKEN = @"token";
NSString *SUCCESS = @"SUCCESS";
NSString *RANGE_NOT_SUPPORTED = @"RANGE_NOT_SUPPORTED";/**11-7超出配送范围*/
NSString *describe = @"describe"; //异常信息描述

//10-27 亚马逊云存储S3 桶，服务器给的 
NSString * FDAWSS3BucketName = @"fudiandmore";


#pragma mark - 一 登陆注册相关
/**1、注册*/
NSString *const AuthRegister = @"/auth/register";
/**1-2 注册获取邮箱验证码*/
NSString *const AuthRegisterEmailVerification = @"/auth/register/email/verification";
/**2、登陆*/
NSString *const AuthLogin = @"/auth/login";
/**3、退出登录*/
NSString *const AuthLogout = @"/auth/logout";
/**4.获取亚马逊云存储上传凭证(OSS)*/
NSString *const AuthAmazonCloudStorage = @"/auth/aws/sts/s3/put";

#pragma mark - 二 首页模块
/**32、首页*/
NSString *const Home = @"/home";
NSString *const HotList = @"/goods/list/hot";
/***点击跳转到商品详情*/
NSString *const GoodsDetail = @"/goods/detail";
/**21、获取外送点餐数据*/
NSString *const SYGoodsList = @"/goods/list";
/**31、获取购物车里面的数据*/
NSString *const SYUserCartList = @"/user/cart/list";
/**27、添加到购物车(非套餐) */
NSString *const SYUserCartAdd = @"/user/cart/add";
/**29.修改购物车数量*/
NSString *const SYUserCartUpdateQuantity = @"/user/cart/update/quantity";
/**30.移除商品*/
NSString *const SYUserCartRemove = @"/user/cart/remove";

/**37 获取优惠券列表*/
NSString *const SYUserCouponList = @"/coupon/list";
/**39、获取用户已使用/过期优惠券列表 */
NSString *const SYUserCouponInvalid = @"/user/coupon/invalid";
/**38、获取用户可用优惠券列表*/
NSString *const SYUserCouponUsable = @"/user/coupon/usable";
/**获取门店预约数据*/
NSString *const SYShopList = @"/shop/list";
/**店铺详情*/
NSString *const SYShopDetail  = @"/shop/detail";




#pragma mark - 三 发现
/**获取发现首页数据*/
NSString *const Find = @"/find";
/**领取优惠券*/
NSString *const UserCouponObtain = @"/user/coupon/obtain";

#pragma mark - 四 订单 dd
/**44. 订单预览 外卖-底部-点击结算按钮调的接口*/
NSString *const DDUserOrderPreview = @"/user/order/preview";
/**45.获取订单优惠券列表*/
NSString *const DDUserOrderCoupon =@"/user/order/coupon";
/***47。提交订单*/
NSString *const DDUserOrderSubmit = @"/user/order/submit";
/** 48 获取订单列表*/
NSString *const DDUserOrderList = @"/user/order/list";
/**51. 获取用户门店预约信息列表 门店预约 这里有坑 必须传空字典 @{} 才能请求到数据  */
NSString *const DDUserShopReservationList = @"/user/shop_reservation/list";

#pragma mark - 五 我的页面 User
/**我的页面数据*/
NSString *const UserMy =@"/user/my";
/**5.修改昵称*/
NSString *const UserUpdateNickname = @"/user/update/nickname";
/**6.修改头像*/
NSString *const UserUpdateHead = @"/user/update/head";
/**7.修改手机号*/
NSString *const UserUpdatePhone = @"/user/update/phone";
/**8.修改性别*/
NSString *const UserUpdateSex = @"/user/update/sex";
/**9.修改出生日期*/
NSString *const UserUpdateBirthday = @"/user/update/birthday";

/**10.获取用户个人信息*/
NSString *const UserPersonalProfile = @"/user/personal_profile";
/**11.获取我的偏好标签*/
NSString *const UserLabelList = @"/user/label/list";
/**12.获取所有的偏好标签*/
NSString *const UserLabelOptionList = @"/user/label/option/list";
/**13.设置我的偏好标签*/
NSString *const UserLabelSave = @"/user/label/save";
/**14.删除偏好标签*/
NSString *const UserLabelRemove = @"/user/label/remove";
/**16.意见反馈*/
NSString *const UserMyFadeBack = @"/user/feedback/save";
/**17.新增家庭成员*/
NSString *const UserFamilySave = @"/user/family/save";
/**18.编辑家庭成员信息*/
NSString *const UserFamilyUpdate = @"/user/family/update";
/**19.获取家庭成员列表*/
NSString *const UserFamilyList = @"/user/family/list";
/**20.移除家庭成员信息*/
NSString *const UserFamilyRemove = @"/user/family/remove";


/** 40 新增收货地址   */
NSString *const UserShippingAddressSave = @"/user/shipping_address/save";
/**41.更新收货地址*/
NSString *const UserShippingAddressUpdate = @"/user/shipping_address/update";

/**42、删除收货地址*/
NSString *const UserShippingAddrssRemove = @"/user/shipping_address/remove";
/**43 、获取收货地址列表 注意有斜杠*/
NSString *const UserShipingAddressList = @"/user/shipping_address/list";
/**49.获取用户订单详情*/
NSString *const UserOrderDetail = @"/user/order/detail";
/*50.用户门店预约 */
NSString *const UserLiJiYuYue = @"/user/shop_reservation/save";
/**52.获取预约的门店信息*/
NSString *const UserYuYueShopDetailMessage = @"/user/shop_reservation/detail";
/**53.门店预约订单详情*/
NSString *const UserYuYueOrderDetail = @"/user/shop_reservation/order/detail";
/**55.查询订单状态*/
NSString *const UserOrderState = @"/user/order/status";
/**56.评价订单*/
NSString *const UserEvaluateOrder = @"/user/order/evaluate/save";
/**57.门店订单评价列表*/
NSString *const UserShopOrderEvaluateList = @"/shop/order/evaluate/list/"; /**57.门店订单评价列表*/
/**57.用户 积分明细*/
NSString *const UserJiFenMingXi = @"/user/bonus/detail";
/**58.获取亚马逊云存储上传多张图片凭证*/
NSString *const UserAuthAwsAtsS3PutMultiple = @"/auth/aws/sts/s3/put/multiple";
/**59. 获取商家配送范围坐标点*/
NSString *const UserShopRangeList = @"/shop/range/list";
/***60.平台客客服电话,页面位置在首页*/
NSString *const Home_KeFuDianHua = @"/configuration/custom_service_phone";
/**61.平台营业时间,页面位置在购物车底部*/
NSString *const Home_YingYeShiJian = @"/configuration/business_time";

/**62. 是否在配送范围内*/
NSString *const UserShopInRange = @"/shop/in_range";
/**66.找回密码验证码*/
NSString *const UserForgetpwdSendVerifyCode = @"/user/forget/password/email/verification";
/**67.修改密码*/
NSString *const UserChangePwd = @"/user/forget/password";
/**69.获取订单支付链接*/
NSString *const  UserOrderPaymentUrl = @"/user/order/payment/url";
/**70.修改登录密码*/
NSString *const UserUpdatePassword = @"/user/update/password";
/**72.查看配送范围第二版 v2 */
NSString *const UserShopRangeListV2 = @"/shop/range/label/list/v2";

/**73.获取运费价格*/
NSString *const UserOrderFreightPrice = @"/user/order/freight_price";
/**75.再来一单订单预览  */
NSString *const UserOrderPreviewAgain = @"/user/order/preview/again";
/**76.再来一单确认订单  */
NSString *const UserOrderSubmitAgain = @"/user/order/submit/again";
/**77.加载商品介绍模板文本*/
NSString *const UserGoodsDetailIntroduceTemplate = @"/configuration/goods_richtext_template";
/**2018-12-30 加载首页轮播图模板 */
NSString *const HomeWhirligigTemplate = @"/configuration/whirligig_richtext_template";
/**12-31商品列表轮播图接口*/
NSString *const UserGoodsListWhirligigAPI = @"/goods/list/whirligig";

#pragma mark - 六 WebSocket
/**订单详情页面获取骑手坐标*/
///websocket/position/subscribe?userOrderId={{userOrderId}}

/**获取系统推送哦消息*/
NSString *const UserWebSocketPush = @"/websocket/push";




#pragma mark - 七11-19 接口修改
/**修改:商品类目*/
NSString *const UserGoodsClassifyListFirst = @"/goods/classify/list/first";

/**79 获取订单详情-骑手信息
 调用时机： 条件改一下，订单配送方式为外送(delivery_type=0) 并且订单状态不等于0、1、2
 */
NSString *const UserOrderDetailRider = @"/user/order/detail/rider";

/**84-获取消息推送详情模板1-5*/
NSString *const HtmlTemplatePush = @"/configuration/push_richtext_template";


#pragma mark - 1-22支付方式
/**87.线上支付*/
NSString *const UserOrderPaymentOnline = @"/user/order/payment/online";
/**88.线上支付*/
NSString *const UserOrderPaymentOffline = @"/user/order/payment/offline";

@end


